<template>
  <div>
    <h1>App 根组件</h1>
    <hr />
    <div class="brother-box" >
        <Left></Left>
        <Right></Right>
    </div>
  </div>
</template>

<script>
// 1. 导入需要的组件
import Left from './Left.vue'
import Right from './Right.vue'
export default {
    components:{
        Left,
        Right
    }
}
</script>

<style scoped >
    .brother-box{
        display: flex;
    }
</style>